public class text {
    public static void main(String[] args){
        TestHeap testHeap=new TestHeap();
        int[] array={27,15,19,18,28,34,65,49,25,37};
        testHeap.inShuZu(array);
        testHeap.createHeap(testHeap.elem);
        //testHeap.siftDown(0, testHeap.usedSize);
        System.out.println(testHeap.pop());
    }
}
